<style lang='less'>

</style>

<template>
    <div>
        <div id="printMe">
            <p>葫芦娃，葫芦娃</p>
            <p>一根藤上七朵花 </p>
            <p>小小树藤是我家 啦啦啦啦 </p>
            <p>叮当当咚咚当当浇不大</p>
            <p> 叮当当咚咚当当 是我家</p>
            <p> 啦啦啦啦</p>
            <p>...</p>
        </div>
        <button class="layui-btn" v-print="'#printMe'">打印</button>
    </div>
</template>

<script>
import HeightCamera from '_c/height-camera'
export default {
  components: {
    HeightCamera
  },
  data () {
    return {
      mshow: false,
      openNow: false,
      cardShow: false,
      modal_loading: false,
      serverResult: ''
    }
  },
  methods: {
    TakePhoto () {
      this.mshow = true
      this.openNow = true
    },
    modalChange (e) {
      this.openNow = e
    },
    retFun (data) {
      this.cardShow = true
      this.serverResult = JSON.stringify(data)
    }
  },
  mounted () {
    if (!window.WebSocket) {
      alert('浏览器不支持HTML5,请更新浏览器或者使用其它浏览器')
    }
    // var obj = document.getElementById('CameraCtl')
    // Cam_ControlInit(obj, 0, 0, 600, 400, this.GetDevCountAndNameResultCB)
  }
}
</script>

<style>

</style>
